import request from "../request";

export const getHomeCard = () => {
    return request(`/home/getHomeCard`, 'GET')
}

export const selectConRecordsStatistics = (data) => {
    return request(`/home/selectConRecordsStatistics/${data}`, 'GET')
}

export const selectConType = () => {
    return request(`/home/selectConType`, 'GET')
}

export const selectConPlatform = () => {
    return request(`/home/selectConPlatform`, 'GET')
}

export const selectConPayChannel = () => {
    return request(`/home/selectConPayChannel`, 'GET')
}

export const insertConRecords = (conRecords) => {
    return request(`/home/insertConRecords`, 'POST', conRecords)
}